package com.usian.service;

import com.usian.pojo.SearchItem;

import java.util.List;

public interface SearchService {
    boolean importAll();

    List<SearchItem> list(String q, Integer page, Integer pageSize);

    int insertDocument(String msg);

    int deleteDocument(String msg);
}
